home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
5
/
CHASSIS_
/
HELPCLOS.C
< prev
next >
Wrap
Text File
|
1992-05-14
|
741b
|
27 lines
/************************************************************************************/
/* HelpCloseProc */
/************************************************************************************/
#include "MyHeaders.h"
int HelpCloseProc ()
{
int HCRetCode = 0;
int item;
if (windTbl[1].windPtr == 0) /* if window already closed */
goto ENDING; /* skip this whole thing */
LDispose (helpList); /* delete the list */
windTbl[1].windPathRefNum = 0; /* indicate file closed */
CloseWindow(windTbl[1].windPtr); /* close the window */
windTbl[1].windPtr = 0; /* indicate closed */
windTbl[1].windTEChanged = FALSE; /* initialize */
ENDING:
return HCRetCode;
}